package com.city.repository.economic;

import com.city.domain.economic.EconomicType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @deprecation: 企业经济类型
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
public interface EconomicTypeRepository extends JpaRepository<EconomicType,Integer> {

    @Query(value = "select * from economic_type;", nativeQuery = true)
    List<EconomicType> getAll();
}
